package entity;

/**
 * Userinfo entity. @author MyEclipse Persistence Tools
 */

public class Userinfo implements java.io.Serializable {

	// Fields

	private Short id;
	private Roleinfo roleinfo;
	private String username;
	private String userpwd;
	private Boolean userflag;

	// Constructors

	/** default constructor */
	public Userinfo() {
	}

	/** full constructor */
	public Userinfo(Short id, Roleinfo roleinfo, String username,
			String userpwd, Boolean userflag) {
		this.id = id;
		this.roleinfo = roleinfo;
		this.username = username;
		this.userpwd = userpwd;
		this.userflag = userflag;
	}

	// Property accessors

	public Short getId() {
		return this.id;
	}

	public void setId(Short id) {
		this.id = id;
	}

	public Roleinfo getRoleinfo() {
		return this.roleinfo;
	}

	public void setRoleinfo(Roleinfo roleinfo) {
		this.roleinfo = roleinfo;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserpwd() {
		return this.userpwd;
	}

	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}

	public Boolean getUserflag() {
		return this.userflag;
	}

	public void setUserflag(Boolean userflag) {
		this.userflag = userflag;
	}

}